string = "this i a sample text"
#*********************************************
l = string.ljust(50, "0")
print l
#*********************************************
r = string.rjust(50, "0")
print r
#*********************************************
c = string.center(45, "0")
print c

#*********************************************
#zfill takes one only argument
print string.zfill(40)

#*********************************************
class abc:
	def __repr__(self):
		return "repr test"
	def __str__(self_):
		return "str test"

print abc()
abc() #in interpreter we have repr test



